import { createRouter, createWebHashHistory } from 'vue-router'
import type { RouteRecordRaw } from 'vue-router'
const routes: RouteRecordRaw[] = [
  {
    path: '/',
    name: 'dashboard',
    component: () => import('@renderer/views/dashboard/index.vue')
  },
  {
    path: '/DataInput',
    name: 'DataInput',
    component: () => import('@renderer/views/DataInput/index.vue')
  },
  {
    path: '/Stations',
    name: 'Stations',
    component: () => import('@renderer/views/Stations/index.vue')
  },
  {
    path: '/Detection',
    name: 'Detection',
    component: () => import('@renderer/views/Detection/index.vue')
  },
  {
    path: '/Warning',
    name: 'Warning',
    component: () => import('@renderer/views/Warning/index.vue')
  },
  {
    path: '/QuickReport',
    name: 'QuickReport',
    component: () => import('@renderer/views/QuickReport/index.vue')
  },
  {
    path: '/Summary',
    name: 'Summary',
    component: () => import('@renderer/views/Summary/index.vue')
  },
  {
    path: '/Assessment',
    name: 'Assessment',
    component: () => import('@renderer/views/Assessment/index.vue')
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
